<div class="navbar">
    <?php
//                     if (isset($_REQUEST['u']) && $_REQUEST['u'] != '') {
// //                        echo 'user' . $_REQUEST['u'];
//                         $u = $_REQUEST['u'];
//                     } else {
//                         $u = $_COOKIE['username'];
//                     }
    $u = 'admin';
    $query = "SELECT distinct pagetitle, ID,  menucolor, menutextcolor, menubordercolor  FROM graphics where owner='" . $u . "'";
    $menures = mysqli_query($con, $query) or die(mysqli_error($con));
    $mnuColor = $mnuBorderColor = $mnuTextColor = "";
    while ($menu = mysqli_fetch_array($menures)) {
        if ($menu['ID'] == $rowdata['ID']) {
            echo ' <div class="navbar-inner" style="box-shadow: 0px 0px 14px rgb(46, 46, 46);background:' . $menu['menucolor'] . '; border-color:' . $menu['menubordercolor'] . ';">';
            $mnuColor = $menu['menucolor'];
            $mnuBorderColor = $menu['menubordercolor'];
            $mnuTextColor = $menu['menutextcolor'];
        }
    }
    ?>
    <!--Modded-->
    <div class="container">

        <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </a>

        <!-- Be sure to leave the brand out there if you want it shown -->
        <a class="brand" href="#"><!--Project name--></a>

        <!-- Everything you want hidden at 940px or less, place within here -->
        <div class="nav-collapse collapse">
            <!-- .nav, .navbar-search, .navbar-form, etc -->
            <ul class="nav">
                <style>
                    .nav li a
                    {
                        text-shadow: 0 0 !important;
                    }
                </style>
                <?php
                $menures = mysqli_query($con, "SELECT distinct pagetitle, ID, menutextcolor, menubordercolor  FROM graphics where owner='" . $u . "'") or die(mysqli_error($con));
                while ($menu = mysqli_fetch_array($menures)) {
                    $active = ($menu['ID'] == $rowdata['ID']) ? 'active' : '';
                    $activecolor = ($active != '') ? "style=\"background:$mnuBorderColor\"" : '';
                    echo '<li class="' . $active . '"><a ' . $activecolor . ' href="/' . $u . '/' . $menu['ID'] . '/' . $menu['pagetitle'] . '/">' . $menu['pagetitle'] . '</a></li>';
                }
                ?>

                <!--                    <li><a href="#">Link</a></li>
                                    <li><a href="#">Link</a></li>
                                    <li><a href="#">Link</a></li>-->
                <!--                    <li class="dropdown">
                                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">Action</a></li>
                                            <li><a href="#">Another action</a></li>
                                            <li><a href="#">Something else here</a></li>
                                            <li class="divider"></li>
                                            <li><a href="#">Separated link</a></li>
                                        </ul>
                                    </li>-->
            </ul>

        </div>

    </div>
</div>
</div>